package cn.dcw.pethome.user.domain;

import cn.dcw.pethome.basic.domain.BaseDomain;
import lombok.Data;

import java.io.Serializable;

/**
 * 专门用于登入的对象
 * Serializable  将对象储存到磁盘，需要序列化
 */
@Data
public class LoginInfo extends BaseDomain implements Serializable{
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer type;//1表示普通用户  0表示员工
    private Boolean disable;
}
